Enabling passive ftp in Pure-FTPd
For users that are behind a firewall it might be required that you enable passive ftp in your ftp server and client.
While enabling passive ftp in your ftp client is simple, doing so in your ftp server configuration files might be a bit tricky if you don’t know what you are doing.
This tutorial will cover Pure-FTPd, the ftp server used on most cPanel powered servers.
Here are the steps that you will have to fallow so that you enable passive FTP.
- Login to your server using a ssh client
- Open the Pure-FTPd configuration file in your favorite editor (I always use nano)
- Uncomment the line that starts with PassivePortRange and add:
- Restart Pure-FTPd with the command:
- If you use a firewall don’t forget to allow inbound connections on the newly added ports
nano /etc/pure-ftpd.conf
PassivePortRange 61001 65535
service pure-ftpd restart
If you enjoyed this post, make sure you subscribe to my RSS feed!
- July 17th













Looks like the ftp server configuration is being overwritten every day at 00:00, so this will not work.
The cpanel’s internal ftp configuration editor though does not have access to many options.
It’s a good get around for temporary access.